Ext.define('ST2Demo.view.Main', {
    extend: 'Ext.tab.Panel',
    xtype: 'main',

    requires: [
        'ST2Demo.view.TweetList'
    ],

    config: {
        tabBarPosition: 'bottom',

        items: [
            {
                xtype: 'titlebar',
                cls: 'st2demo-italic',  //Adds a class to the element for easy custom styling.  See _home.scss.
                docked: 'top',
                title: ST2Demo.app.name
            },
            {
                title: 'Home',
                iconCls: 'home',
                iconMask: 'true',
                xtype: 'tweetlist'
            }
        ]
    }
});
